<?php
/**
 * 获取表单
 */
Route::get('/{tableName}', 'FormController@getForm');


/**
 * 获取自定义显示列
 */
Route::get('/{tableName}/view', 'FormCustomViewController@getUserCustomView');

/**
 * 修改自定义显示列
 */
Route::put('/{tableName}/view', 'FormCustomViewController@updateUserCustomView');
/**
 * 修改自定义显示列宽度
 */
Route::put('/view/{id}/resize', 'FormCustomViewController@resizeCustomView');

/**
 * 获取自定义筛选
 */
Route::get('/{tableName}/filter', 'FormFilterGroupController@getUserFilterGroup');

/**
 * 创建自定义筛选
 */
Route::post('/{tableName}/filter', 'FormFilterGroupController@createUserFilterGroup');
/**
 * 删除自定义筛选
 */
Route::delete('/filter/{id}', 'FormFilterGroupController@deleteUserFilterGroup');

/**
 * 更新自定义筛选
 */
Route::put('/filter/{id}', 'FormFilterGroupController@updateUserFilterGroup');